import { defineStore } from "pinia";
console.log("wwfff");
import userwsd from './wwssd'
const rwsd=userwsd()
export default defineStore({
  id: "wwfff",
  state() {
    return {
      age: 2,
      name: "123",
      value:30
    };
  },
  getters: {
    doubleAge(state) {
      return state.age * 2
    }
  },
  persist: {
    enabled: true,
    strategies: [
      {
        storage: localStorage,
        // paths: ['count', 'name']
      }
    ]
  }
});
